package com.newjiabo.ski.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newjiabo.common.annotation.Excel;
import com.newjiabo.common.core.domain.BaseEntity;

/**
 * 更多服务对象 ski_more_services
 *
 * @author CaoMengHui
 * @date 2023-09-19
 */
@ApiModel(value = "更多服务对象")
public class SkiMoreServices extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 服务id
     */
    @ApiModelProperty(value = "服务id")
    private String servicesId;

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    @Excel(name = "服务名称")
    private String servicesName;

    /**
     * 服务描述
     */
    @ApiModelProperty(value = "服务描述")
    @Excel(name = "服务描述")
    private String servicesDesc;

    /**
     * 是否为活动商品
     */
    @ApiModelProperty(value = "是否为活动商品")
    @Excel(name = "是否为活动商品")
    private Boolean haveActivity;

    /**
     * 原始价格
     */
    @ApiModelProperty(value = "原始价格")
    @Excel(name = "原始价格")
    private Double originalPrice;

    /**
     * 价格（负数为优惠）
     */
    @ApiModelProperty(value = "价格（负数为优惠）")
    @Excel(name = "价格", readConverterExp = "价格（负数为优惠）")
    private Double price;

    /**
     * 状态（true:上架、false:下架）
     */
    @ApiModelProperty(value = "状态（true:上架、false:下架）")
    @Excel(name = "状态", readConverterExp = "true:上架、false:下架")
    private Boolean status;

    /**
     * 删除标志 true/false 删除/未删除
     */
    @ApiModelProperty(value = "删除标志 true/false 删除/未删除")
    private Boolean delFlag;

    public void setServicesName(String servicesName) {
        this.servicesName = servicesName;
    }

    public String getServicesName() {
        return servicesName;
    }

    public void setServicesDesc(String servicesDesc) {
        this.servicesDesc = servicesDesc;
    }

    public String getServicesDesc() {
        return servicesDesc;
    }

    public void setHaveActivity(Boolean haveActivity) {
        this.haveActivity = haveActivity;
    }

    public Boolean getHaveActivity() {
        return haveActivity;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPrice() {
        return price;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("servicesId", getServicesId())
                .append("servicesName", getServicesName())
                .append("servicesDesc", getServicesDesc())
                .append("haveActivity", getHaveActivity())
                .append("originalPrice", getOriginalPrice())
                .append("price", getPrice())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public String getServicesId() {
        return servicesId;
    }

    public void setServicesId(String servicesId) {
        this.servicesId = servicesId;
    }
}
